package com.five.controller.reception;

import com.five.dao.reception.ShowTypeDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

/**
 * @Author: 王登峰
 * @Description:
 * @Date: 2020/11/26 16:34
 */
@Controller
public class ShowTypeController {
    @Autowired
    private ShowTypeDao showTypeDao;
    @RequestMapping("/showType")
    @ResponseBody
    public List<Map> showType(){
       return showTypeDao.selectType();
    }
}
